//Alisa Burdeyny

/*****
 * Creates sections of the walker for easy access, allowing the program to easily get to the 
 * angle at which the section is drawn and the length of the section
 *****/
public class Sections
{
	double ang;
	double len;
	
	//constructor to create a section and specify a length and initial angle at which to draw it
	public Sections(double angle, double length)
	{
		ang = angle;
		len = length;
	}
	
	//set the angle of the section
	public void setAngle(double angle)
	{
		ang = angle;
	}
	
	//set the length of the section
	public void setLength(double length)
	{
		len = length;
	}
	
	//returns the angle of the section
	public double getAngle()
	{
		return ang;
	}
	
	//returns the length of the section
	public double getLength()
	{
		return len;
	}
}
